﻿using System;

namespace WeixinSDK
{
    /// <summary>
    /// 微信接口配置
    /// </summary>
    public class WxSetting
    {
        /// <summary>
        /// 用户自定义的消息验证令牌
        /// </summary>
        public string UserToken { get; set; }

        /// <summary>
        /// 第三方用户唯一凭证
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 第三方用户唯一凭证密钥，即appsecret
        /// </summary>
        public string AppSecret { get; set; }

        /// <summary>
        /// 用于缓存令牌的文件夹地址
        /// </summary>
        public string TokenCacheFolder { get; set; }

        public WxSetting()
        {
            TokenCacheFolder = AppDomain.CurrentDomain.BaseDirectory;
        }
    }
}
